Produced by Araxis Merge on 2023-03-13 03:00:45 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | 2023-03-13 03:00:45 +0000 | ||
| 2 | Porto v4.0.5/Porto Theme/app/code/Smartwave/Megamenu/view/frontend/templates | sidebar_menu.phtml | 2023-02-27 02:21:29 +0000 |
| Description | Between Files 1 and 2 | |
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 52 |
| Removed | 0 | 0 |
| Whitespace | Consecutive whitespace is treated as a single space |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
| Active line-pairing rules |
No regular expressions were active.
| 1 | <?php | |||||
| 2 | /** | |||||
| 3 | * Copyright © 2018 Porto. All rights reserved. | |||||
| 4 | */ | |||||
| 5 | ||||||
| 6 | ?> | |||||
| 7 | <?php | |||||
| 8 | /** | |||||
| 9 | * Top menu for store | |||||
| 10 | * | |||||
| 11 | * @see \Smartwave\Megamenu\Block\Topmenu | |||||
| 12 | */ | |||||
| 13 | ?> | |||||
| 14 | <?php | |||||
| 15 | $_helper = $this->helper('Smartwave\Megamenu\Helper\Data'); | |||||
| 16 | $_config = $_helper->getConfig('sw_megamenu'); | |||||
| 17 | $columnsLimit = 0; | |||||
| 18 | if($_config['general']['enable']) { | |||||
| 19 | ?> | |||||
| 20 | <?php $_menu = $block->getMegamenuHtml(); ?> | |||||
| 21 | <div class="sticky-sidenav sections nav-sections"> | |||||
| 22 | <nav class="navigation sw-megamenu side-megamenu" role="navigation"> | |||||
| 23 | <ul> | |||||
| 24 | <?php echo $_menu; ?> | |||||
| 25 | </ul> | |||||
| 26 | </nav> | |||||
| 27 | </div> | |||||
| 28 | <style> | |||||
| 29 | .sticky-sidenav { | |||||
| 30 | will-change: position,top,bottom,left; | |||||
| 31 | padding-bottom: 1px; | |||||
| 32 | } | |||||
| 33 | </style> | |||||
| 34 | <script type="text/javascript"> | |||||
| 35 | require([ | |||||
| 36 | 'jquery', | |||||
| 37 | 'themeSticky', | |||||
| 38 | 'Smartwave_Megamenu/js/sw_megamenu' | |||||
| 39 | ], function ($) { | |||||
| 40 | $(".sw-megamenu").swMegamenu(); | |||||
| 41 | $(".sidebar-nav .sticky-sidenav").themeSticky({ | |||||
| 42 | autoInit: true, | |||||
| 43 | minWidth: 992, | |||||
| 44 | containerSelector: '.page-main .page-main-inner', | |||||
| 45 | autoFit: true, | |||||
| 46 | paddingOffsetBottom: 10 | |||||
| 47 | }); | |||||
| 48 | }); | |||||
| 49 | </script> | |||||
| 50 | <?php | |||||
| 51 | } | |||||
| 52 | ?> |
Araxis Merge (but not the data content of this report) is Copyright © 1993–2019 Araxis Ltd (www.araxis.com). All rights reserved.